package com.breakfast.fun.ui.user.order;

import com.breakfast.fun.base.BaseModel;
import com.breakfast.fun.data.entity.user.Result;
import com.breakfast.fun.util.Api;
import com.breakfast.fun.util.RxSchedulers;

import java.util.Map;

import retrofit2.http.FieldMap;
import rx.Observable;

/**
 * Created by hp on 2016/8/25.
 */
public class UserOrderModel implements UserOrderContract.Model {
    @Override
    public Observable<Result> getCouponShare(@FieldMap Map<String, String> map) {
        return Api.getInstance().service
                .getCouponShare(map)
                .compose(RxSchedulers.io_main());
    }


}
